Skip to content

Conversation

sarunint
Copy link
Contributor

@sarunint sarunint commented Jul 4, 2019

Checklist

  • Issue number for this PR: Retrieving list data with items id #1562 (required)
  • Docs included?: not yet
  • Test units included?: no? (original code has no test???)
  • In a clean directory, yarn install, yarn test run successfully?: yes

Description

The RTDB version of #1976. Why should only Firestore have the fun?

Code sample

All of the following are valid.

this.afd.list('path').valueChanges();
this.afd.list('path').valueChanges(undefined, {idField: 'key'});

Caveats

Currently, if the list is an array of primitive types, it would not work. Please advise on how I should proceed.

@jamesdaniels jamesdaniels added this to the 5.3.0 milestone Aug 20, 2019
@jamesdaniels jamesdaniels modified the milestones: 5.3.0, 6.1 Nov 10, 2020
@jamesdaniels jamesdaniels merged commit 5cdb8ce into angular:master Nov 11, 2020
@sarunint
Copy link
Contributor Author

@jamesdaniels Whoa, I've already forgotten about this pull request 😂😂😂

@jamesdaniels
Copy link
Member

Made it into 6.1.0-rc.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants